<%--
  Created by IntelliJ IDEA.
  User: lijincheng
  Date: 2020/7/14
  Time: 2:01 下午
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/WEB-INF/views/common/head.jsp"%>
<div class="right">
        <div class="location">
            <strong>你现在所在的位置是:</strong>
            <span>用户管理页面</span>
        </div>
        <div class="search">
            <form method="post">
                <span>用户名：</span>
                <input name="queryname" class="input-text" id="username" type="text" value="">

                <span>用户角色：</span>
                <select id="userrole" name="queryUserRole">

                    <option value="">--请选择--</option>

                    <option
                            value="1">系统管理员
                    </option>

                    <option
                            value="2">经理
                    </option>

                    <option
                            value="3">普通员工
                    </option>


                </select>
                <input type="hidden" name="pageIndex" value="1"/>
                <input value="查 询" type="button" onclick="search()" id="searchbutton">
                <a href="/user/add">添加用户</a>
            </form>
        </div>
        <!--用户-->
        <table class="providerTable" id="table" cellpadding="0" cellspacing="0">
            <tr class="firstTr">
                <th width="10%">用户编码</th>
                <th width="20%">用户名称</th>
                <th width="10%">性别</th>
                <th width="10%">年龄</th>
                <th width="10%">电话</th>
                <th width="10%">用户角色</th>
                <th width="30%">操作</th>
            </tr>



        </table>
        <input type="hidden" id="totalPageCount" value="4"/>


        <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
        <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>Insert title here</title>
            <script type="text/javascript">

            </script>
        </head>
        <body>
        <div class="page-bar">
            <ul class="page-num-ul clearfix">
                <li>共<span id="total"></span>条记录&nbsp;&nbsp; <span id="curr"></span>/<span id="pages"></span>页&nbsp;
                </li>

                <a onclick="pre()">上一页</a>
                <a onclick="next()">下一页</a>
                <a onclick="lastPage()">最后一页</a>
                &nbsp;&nbsp;
            </ul>
            <span class="page-go-form"><label>跳转至</label>
	     <input type="text" name="inputPage" id="inputPage" class="page-key"/>页
	     <button type="button" class="page-btn"
                 onClick='jumpPage()'>GO</button>
		</span>
        </div>
        </body>
        <script type="text/javascript" src="/statics/js/rollpage.js"></script>
        </html>
    </div>
</section>

<!--点击删除按钮后弹出的页面-->
<div class="zhezhao"></div>
<div class="remove" id="removeUse">
    <div class="removerChid">
        <h2>提示</h2>
        <div class="removeMain">
            <p>你确定要删除该用户吗？</p>
            <a href="#" id="yes">确定</a>
            <a href="#" id="no">取消</a>
        </div>
    </div>
</div>


<footer class="footer">
    千峰科技
</footer>
<script type="text/javascript" src="/statics/js/time.js"></script>
<script type="text/javascript" src="/statics/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/statics/js/common.js"></script>
<script type="text/javascript" src="/statics/calendar/WdatePicker.js"></script>
</body>
</html>
<script type="text/javascript" src="/statics/js/userlist.js"></script>
